define(function (require, exports, module) {
    var $ = require('jquery');
     require('bootstrap');
     require('JiSlider');
     require('carousel');
     require('simpleLightbox');
     require('wmuSlider');
     require('SmoothScroll');
     require('move-top');
     require('easing');
     require('touchSwipe');
     return {
     	init:function(){
     		$('#JiSlider').JiSlider({color: '#fff', start: 3, reverse: false}).addClass('ff');
     		$("#owl-demo").owlCarousel({
					items : 1,
					lazyLoad : true,
					autoPlay : true,
					navigation : false,
					navigationText : false,
					pagination : true,
				});
		       $('.w3layouts_gallery_grid a').simpleLightbox();//弹窗图片插件
		      
		       //我们的客户
		      $('.example1').wmuSlider(); 
		      //回到顶部
		      $(".scroll").click(function(event){		
			        event.preventDefault();
			       $('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
		        });
			
			/*
				var defaults = {
				containerID: 'toTop', // fading element id
				containerHoverID: 'toTopHover', // fading element hover id
				scrollSpeed: 1200,
				easingType: 'linear' 
				};
			*/
		     
			$().UItoTop({ easingType: 'easeOutQuart' });
		
     	}
     }
})